package com.onlineMIS.ORM.entity.headQ.finance;

import java.util.Date;
import java.util.List;


public class ExpenseHqType {

	/**
	 * 
	 */
	private static final long serialVersionUID = 9194070545975560853L;
	private int id;
	private Integer parentId;
	private String parentName; //父级名称
	private String name;
	private Integer belong;
	private Integer status;
	private Integer type;
	private Integer sort;
	private String comment;
	private String createBy;
	private Date createTime;
	private String updateBy;
	private Date updateTime;
	private Integer delflag;	
	private List<ExpenseHqType> list;
	
	/**
	 * 费用类型归属
	 */
	public static final int BELONG_TO_CHAIN = 1;
	public static final int BELONG_TO_HQ = 0;
	
	
	/**
	 * 费用状态
	 */
	public static final int STATUS_NORMAL = 0;
	public static final int STATUS_DISABLED = 1;
	
	/**
	 * parent_id 首级目录 
	 * 
	 */
	public static final int PARENT_CHAIN = -1;
	public static final int PARENT_HQ = 0;
	
	
	/**
	 * type 费用类型
	 */
	public static final int COST_TYPE_HQ = 0;//总部费用
	public static final int COST_TYPE_CHAIN = 1;//店铺费用
	public static final int COST_TYPE_HQ_INCOME = 2;//总部收益费用
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Integer getParentId() {
		return parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String expenseName) {
		this.name = expenseName;
	}

	public Integer getBelong() {
		return belong;
	}

	public void setBelong(Integer belong) {
		this.belong = belong;
	}	
	
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}



	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getDelflag() {
		return delflag;
	}

	public void setDelflag(Integer delflag) {
		this.delflag = delflag;
	}

	public List<ExpenseHqType> getList() {
		return list;
	}

	public void setList(List<ExpenseHqType> list) {
		this.list = list;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	

}
